<?php
$total = getTagCloudSize($terms);
foreach ($terms as $i):
	$size = getTagSize($i, $total);
?>
	<?php echo str_repeat('<em>', $size) ?>
	<?php if ($user): ?>
		<a href="<?php echo Gene::makeLink($object) ?>/view/tag/~<?php echo $user ?>/<?php _e($i['label']) ?>"><?php _e($i['label']) ?></a>
	<?php else: ?>
		<a href="<?php echo Gene::makeLink($object) ?>/view/tag/<?php _e($i['label']) ?>"><?php _e($i['label']) ?></a>
	<?php endif; ?>
	<?php echo str_repeat('</em>', $size) ?>
<?php endforeach; ?>